﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/Plug/jHtmlArea/jquery-ui-1.7.2.custom.min.js" type="text/javascript"></script>
    <link href="../Scripts/Plug/jHtmlArea/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/Plug/jHtmlArea/jHtmlArea-0.7.0.js" type="text/javascript"></script>
    <link href="../Scripts/Plug/jHtmlArea/jHtmlArea.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        $(function () {
            $("#txtDefaultHtmlArea").htmlarea();
        });
    </script>
</head>
<body>
   <textarea id="txtDefaultHtmlArea" cols="50" rows="15"><p><h3>Test H3</h3>This is some sample text to test out the <b>WYSIWYG Control</b>.</p></textarea>
    <input type="button" value="Alert HTML" onclick="alert($('#txtDefaultHtmlArea').htmlarea('toHtmlString'));" />
    <input type="button" value="Change Color to Blue" onclick="$('#txtDefaultHtmlArea').htmlarea('forecolor', 'blue');" />
</body>
</html>
